package com.iflysse.pojo.vo.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel
public class QuestionResp implements Serializable {

    //问题编号
    @ApiModelProperty(value = "问题编号")
    private String questionId;
    //知识点编号
    @ApiModelProperty(value = "知识点编号")
    private String knowledgePointId;
    //问题类型:1单选,2多选
    @ApiModelProperty(value = "问题类型:1单选,2多选")
    private int questionType;
    //问题难度:1简单,2一般,3难
    @ApiModelProperty(value = "问题难度:1简单,2一般,3难")
    private int difficultyLevel;
    //问题标题
    @ApiModelProperty(value = "问题标题")
    private String questionTitle;


    //问题内容:json--
    /*
        {
        "titleContent":"关于Python语言的浮点数类型，以下选项中描述错误的是 ()。",
        "analyze":"浮点数的小数部分也可以为0。",
        "questionItemObjects":[
            {"prefix":"A","content":"Python语言要求所有浮点数必须带有小数部分。"},
            {"prefix":"B","content":"浮点数类型与数学中实数的概念一致。"},
            {"prefix":"C","content":"小数部分不可以为0。"},
            {"prefix":"D","content":"浮点数类型表示带有小数的类型。"}],
        "correct":"C"}
     */
    @ApiModelProperty(value = "问题内容")
    private String questionContent;


}
